-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-48433: [C++] Use NDEBUG to fix linkage to abseil libraries #48418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or See also: |
21d5eaa to
9e14a14
Compare
|
|
9e14a14 to
ff49bc1
Compare
|
@github-actions crossbow -g cpp |
|
|
@github-actions crossbow submit -g cpp |
|
Revision: ff49bc1 Submitted crossbow builds: ursacomputing/crossbow @ actions-77d4e90756 |
6644265 to
585cc00
Compare
|
@github-actions crossbow submit -g cpp |
|
Revision: 585cc00 Submitted crossbow builds: ursacomputing/crossbow @ actions-367649e114 |
585cc00 to
179e249
Compare
|
@github-actions crossbow submit -g cpp |
|
Revision: 179e249 Submitted crossbow builds: ursacomputing/crossbow @ actions-37ceee83fe |
|
I don't believe any of the current failures are related. @pitrou any interest in merging this one before your C++20 PR? |
|
Can you point the PR description to the existing upstream issue(s)? |
|
The majority of these changes were merged in via #48414, so this PR and issue are mostly obsolete. The example code in this PR will still fail, but at this point I think its clearest for issue lineage to close this and start fresh with a dedicate issue for that |
Rationale for this change
When referencing production abseil libraries but using a debug build type, libarrow_flight ends up referencing private symbols from the libabsl_syncrhonization library. For a reproducer in CI of the issue, see https://github.com/apache/arrow/actions/runs/20072853100/job/57579472724?pr=48418
What changes are included in this PR?
NDEBUG is defined for CI builds so that the abseil desctructor that only appears in debug builds is not present in Arrow libraries
Are these changes tested?
Yes
Are there any user-facing changes?
No - this update is strictly to the CI jobs